// Create Time:2023/5/4 22:41:41
// Author:GYQQ_NFQ
package cn.itcast.bookmanager.jframe;

import cn.itcast.bookmanager.dao.UserDao;
import cn.itcast.bookmanager.model.User;
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import cn.itcast.bookmanager.util.JdbcUtils;
import javafx.scene.ImageCursor;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;

public class MyLove extends JFrame{
    private JFrame jf;
    private JLabel lblNewLabel;
    public MyLove(){
        jf=new JFrame("Surprise");
        jf.getContentPane().setFont(new Font("Arial", Font.BOLD, 16));
        jf.setBounds(600, 250,816, 808);
        jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        jf.getContentPane().setLayout(null);

        JButton button_back = new JButton("Return");
        button_back.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                jf.dispose();
                new RegFrame_EN();
            }
        });
        button_back.setBounds(380, 299, 100, 29);
        jf.getContentPane().add(button_back);

        lblNewLabel = new JLabel("<html>"+""+"</html>");
        lblNewLabel.setForeground(Color.BLACK);
        lblNewLabel.setIcon(new ImageIcon(RegFrame_EN.class.getResource("/tupian/output_anime4kcpp_Love.png")));
        lblNewLabel.setBounds(0, 0, 816, 808);
        jf.getContentPane().add(lblNewLabel);


        jf.setVisible(true);
        jf.setResizable(true);
    }

}
